/**
 * @Title: practiceDao.java
 * @Package com.car.dal.dao.practice
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company:
 * 
 * @author yxj
 * @date 2016年6月9日 下午7:14:21
 * @version V1.0
 */
package com.car.dal.dao.moneys;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.car.bean.GridObj;
import com.car.bean.PageObj;
import com.car.dal.dao.ibatis.CommonDaoInterface;
import com.car.dal.object.TgMoney;
import com.car.util.Page;

public interface TgMoneyDao  extends CommonDaoInterface<TgMoney, Long>{
	
	public GridObj GetList(TgMoney money, PageObj pageObj);
	
	public Integer getMonCountByType(TgMoney money);
	
	public Integer getMonCountByType_two(TgMoney money);
	
	public List<TgMoney> getMoneysByType(TgMoney money,Page page);
	
	public List<TgMoney> getMoneysByType_two(TgMoney money,Page page);
	
	public List<TgMoney> getMoneysByType2(TgMoney money);
	
	public List<TgMoney> getMoneysByType3(TgMoney money);
	
	public List<TgMoney> getMoneysByType4(TgMoney money);
	
	public List<TgMoney> getMoneysByType5(TgMoney money);
	
	public List<TgMoney> getMoneysByType6(TgMoney money);
	
	public List<TgMoney> getMoneySmtype(TgMoney money);
	
	public TgMoney getmoneySm_new(long stu_id);
	
	public List<TgMoney> getAllMoneySmtype(TgMoney money);
	
	public Integer getMonCountFpByType(TgMoney money);
	
	public List<TgMoney> getMoneysFpByType(TgMoney money,Page page) ;

	//导出Excel查询的各种个数
	public  Integer getExcelCountByDate(HashMap map);

	//导出Excel查询的各种金额
	public  Double  getExcelMoneyByDate(HashMap map);
	
	public List<TgMoney> getMoneysStaticByType(TgMoney money);
	
	public List<TgMoney> getMoneysStudentByType(TgMoney money);
	
	public List<TgMoney> getMoneysScStaticByType(TgMoney money);
	
	public List<TgMoney> getMoneysTidianByType(TgMoney money);
	public List<TgMoney> getMoneysTidianDingjinByType(TgMoney money);


	public	 Integer getEnrollmentRecordCount(TgMoney money);

	public List<TgMoney> getEnrollmentRecord(TgMoney money, Page page);

	public List<TgMoney> getFullPaymentStuId(HashMap map);	//本周全款学员交了定金和其他款id


	public	 Double getFullPaymentMoney(HashMap map);

	public List<TgMoney> getFullPaymentStuName(HashMap map);


	public	 Double getFullPaymentMoney2(HashMap map);

	public List<TgMoney> getDepositDate(TgMoney money);

	public List<TgMoney> getFlowInformation(TgMoney tgMoney);

	public Integer  getPayCount(TgMoney tgMoney);

	public Integer getRetainageCount(HashMap map);

	public Double getRetainageMoneys(HashMap map);


	//全款个数
	public Integer getFullPaymentCount(HashMap map);
	public Double getFullPaymentMoneys(HashMap map);
//团队中个人课程数
	public List<TgMoney> getMoneysTuanduikcByType(TgMoney money);
	/**
	 * 获取学员续费 和新增
	 */
	public List<String> getStu_xufei_xinzeng(long stu_id,String startTime,String endTime,Integer moneyType1);
}
